package cn.cdeden.knowledge.mapper;

import cn.cdeden.knowledge.domain.FilesCollection;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface FilesCollectionMapper extends BaseMapper<FilesCollection> {

    List<FilesCollection> queryAll(@Param("fileType") String fileType,@Param("libraryId") String libraryId,  @Param("teamId") String teamId, @Param("realName") String realName, @Param("userId") String userId, @Param("nameSort") String nameSort, @Param("startPage") int startPage, @Param("endPage") int endPage);


    int queryAllCount(@Param("fileType") String fileType,@Param("libraryId") String libraryId, @Param("teamId") String teamId,@Param("realName") String realName,@Param("userId") String userId,@Param("nameSort") String nameSort);
}
